package com.jt.www.domain.enums.common.parser;

/**
 * 清单解析返回值类型枚举
 * 1 返回统计信息
 * 2 返回详情信息
 * 3 返回统计加详情信息
 */
public enum ReturnType {
    SUMMARY(1, "统计结果"),
    DETAIL(2, "清单明细"),
    ALL(3, "统计结果和清单明细");

    private int code;
    private String msg;

    ReturnType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
